BitApps\FM\Providers\PermissionsProvider B

Total Complexity 99
Dependencies 6
Dependents 1
Total lines 426
Lines of code 277
Logical lines of code 119
Comment lines 41
Methods 38
Properties 5

Methods 38

Method Rating Maintainability Complexity Lines of code
getPermissions()
A
51 10 26
currentUserCanRun()
A
56 8 17
getPath()
S
55 7 19
getDefaultRootPathByCriteria()
S
61 7 11
getGuestPermissions()
S
57 6 17
getEnabledCommand()
S
60 5 13
getDisabledCommand()
S
60 5 13
isRequestForAdminArea()
S
68 3 7
currentUserRole()
S
70 3 6
getURL()
S
69 3 6
currentUser()
S
70 3 6
allCommands()
S
59 1 17
getFolderOption()
S
78 2 3
isDisabledForAdmin()
S
75 2 4
getMaximumUploadSize()
S
75 2 4
getEnabledFileType()
S
76 2 4
mappedUsers()
S
66 2 8
getPublicRootPath()
S
73 2 5
currentUserID()
S
71 2 6
isCurrentUserHasPermission()
S
69 2 7
isCurrentRoleHasPermission()
S
69 2 7
getPublicRootURL()
S
73 2 5
getUserDisplayName()
S
78 2 3
isCommonFolderEnabled()
S
78 2 3
defaultPermissions()
S
62 1 11
permissionsForCurrentUser()
S
80 1 3
permissionsForCurrentRole()
S
80 1 3
__construct()
S
64 1 10
refresh()
S
72 1 6
getByRole()
S
79 1 3
getDefaultRootPathForRole()
S
79 1 3
getDefaultRootPathForUser()
S
79 1 3
getDefaultPublicRootURL()
S
82 1 3
getDefaultPublicRootPath()
S
82 1 3
getVolumeAlias()
S
81 1 3
allUsers()
S
82 1 3
allRoles()
S
82 1 3
getByUser()
S
79 1 3